;%define _BOOT_DEBUG_

%ifdef _BOOT_DEBUG_
	org 0100h
%else
	org 07c00h
%endif

    mov ax, cs
    mov ds, ax
    mov es, ax
    call DisplayHello
DisplayHello:
    mov ax, msg
    mov bp, ax
    mov cx, 16
    mov ax, 01301h
    mov bx, 000ch
    mov dl, 0
    int 10h
    ret
msg:    db  "Hello bootloader!"
times  510-($-$$)  db  0
dw  0xaa55